package com.yuanzong.wuliu.model.business.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yuanzong.wuliu.model.base.BaseModel;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel(value = "BusinessCustomerBaodan", description = "")
@TableName(value = "business_customer_baodan")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BusinessCustomerBaodan extends BaseModel implements Serializable {

    private static final long serialVersionUID = 21L;

    @ApiModelProperty(value = "ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "客户ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableField(value = "customer_id")
    private Long customerId;

    @ApiModelProperty(value = "出发地")
    @TableField(value = "start_address")
    private String startAddress;

    @ApiModelProperty(value = "目的地")
    @TableField(value = "end_address")
    private String endAddress;

    @ApiModelProperty(value = "车辆类型")
    @TableField(value = "car_type")
    private String carType;

    @ApiModelProperty(value = "司机姓名")
    @TableField(value = "driver_name")
    private String driverName;

    @ApiModelProperty(value = "司机电话")
    @TableField(value = "driver_phone")
    private String driverPhone;

    @ApiModelProperty(value = "图片地址列表")
    @TableField(value = "photo_urls")
    private String photoUrls;

    @ApiModelProperty(value = "视频地址")
    @TableField(value = "video_url")
    private String videoUrl;

    @ApiModelProperty(value = "状态 1进行中 2结束")
    @TableField(value = "status")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "结束时间")
    @TableField(value = "end_time")
    private LocalDateTime endTime;

}
